package com.xingkeduo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;


/**
 * 
* @ClassName: CustomerApplication
* @Description: TODO(这里用一句话描述这个类的作用)
* @author lixin
* @date Apr 16, 2019 5:03:50 PM
* 
 */
@EnableDiscoveryClient
@EnableEurekaClient
@SpringBootApplication
@EnableTransactionManagement//开启事务管理
@EnableFeignClients
@ComponentScan("com.xingkeduo")
@MapperScan(basePackages={"com.xingkeduo.**.dao", "com.framework.common.base"})
public class CustomerApplication {
    public static void main(String[] args) {
        SpringApplication.run(CustomerApplication.class, args);
    }
}
